import React from "react";
import { routes } from "./route/router";
import { useRoutes } from'react-router-dom';


const App: React.FC = () => {
  const el = useRoutes(routes);
  return <div>{el}</div>;
};

export default App;
